package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.StudentAllotTierSet;
import com.xmy.cultivate.mapper.StudentAllotTierSetMapper;
import com.xmy.cultivate.service.IStudentAllotTierSetService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 学生分层设置 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2024-12-12
 */
@Service
public class StudentAllotTierSetServiceImpl extends ServiceImpl<StudentAllotTierSetMapper, StudentAllotTierSet> implements IStudentAllotTierSetService {

    @Autowired
    StudentAllotTierSetMapper studentAllotTierSetMapper;

    @Override
    public StudentAllotTierSet getAllotOne(Integer yearPart,
                                           Integer quarterNum,
                                           Long subjectsId,
                                           Integer gradeSection,
                                           Integer yearClassId){
        return studentAllotTierSetMapper.getAllotOne(yearPart,quarterNum,subjectsId,gradeSection,yearClassId);
    }
}
